package com.feishi.core.socket.common;

import com.feishi.core.analytic.assembler.BaseAssembler;
import com.feishi.core.socket.common.lifecycle.SocketApplication;

/**
 * Created by caixq on 5/15 015.
 */
public abstract class SocketServer<T extends BaseAssembler> {
    public abstract int getPort();
    public abstract void startServer();

    protected SocketApplication<T> application=new SocketApplication<T>();

    public SocketApplication<T> getApplication() {
        return application;
    }


}
